package com.biostime.dingdingbox.modules.db.service;

import org.springframework.stereotype.Service;
import com.biostime.dingdingbox.modules.db.entity.BoxCode;
import org.springframework.transaction.annotation.Transactional;

import com.biostime.dingdingbox.common.service.CrudService;
import com.biostime.dingdingbox.modules.db.dao.BoxCodeDao;

/**
 * 玩具盒实体表Service
 * @author chenweicheng
 * @version 2016-06-28
 */
@Service
@Transactional(readOnly = true)
public class BoxCodeService extends CrudService<BoxCodeDao, BoxCode> {
	
	public BoxCode apiGetByCode(String code){
		return dao.apiGetByCode(code);
	}
	
}
